<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  <script>
    // gang laishi haiyou reshui 
    // fahuiyoudian gaidiaobuzu 
    // 
    let obj = {name: 'zf'}
    let proxy1 = new Proxy(obj, {
      get (target, prop) {
        // ruguo nishi nvsheng nihui xuanze ni zheyangde ren ma 
        // genni zaiyiqi de duo lei a youyubujue 
        // shenghuoshang guanxin zhudong youzhujian huiliaotian yangguang 
        return target[prop]
      },
      set(target, prop, value){
        target[prop] = value
      }
    })
    console.log(Object.getOwnPropertyDescriptor('111', 'length'))
  </script>
</body>
</html>